﻿using Basic.HrModel.SignatureFile;
using Basic.HrRemoteModel.EmpSignatureFile.Model;
using WeDonekRpc.Model;

namespace Basic.HrCollect
{
    public interface IEmpSignatureFileCollect
    {
        Result[] Query<Result> ( long empId, SignQueryParam query, IBasicPage paging, out int count ) where Result : class;
        long Add ( SignatureFileAdd add );
        SignFilePwd GetPwd ( long id );
        void Drop ( EmpSignatureFile file );
        EmpSignatureFile Get ( long id );
        SignFileItem[] Gets ( long empId );
        Result[] Gets<Result> ( long[] ids ) where Result : class, new();
    }
}